@Override
public boolean readBoolean() throws IOException {
if (pos >= count) {
fillNew();
if (pos >= count)
throw new EOFException();
}
@Override
public boolean readBoolean() throws IOException {
if (pos >= count) {
fillNew(1);
}
int ch = this.buf[pos++] & 0xff;
return (ch != 0);